package com.ruibang.glass.produce.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.produce.domain.req.DcsRealTimeDataReq;
import com.ruibang.glass.produce.domain.resp.dcs.td.*;
import com.teaming.cloud.framework2.autoconfigure.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
@DS("click_dcs")
public interface DcsTdRealTimeDataMapper {
    IPage<ClarificationSection> queryClarificationSection(Page<ClarificationSection> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<CoolingSection> queryCoolingSection(Page<CoolingSection> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<MixingDrum> queryMixingDrum(Page<MixingDrum> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<DischargePort> queryDischargePort(Page<DischargePort> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<CoolingSegment> queryCoolingSegment(Page<CoolingSegment> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<FeedBucket> queryFeedBucket(Page<FeedBucket> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<MixerParam> queryMixerParam(Page<MixerParam> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    IPage<CoolingSystem> queryCoolingSystem(Page<CoolingSystem> page, @Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    List<HeatingData> heatingTrendChart(@Param("dcsReq") DcsRealTimeDataReq dcsRealTimeDataReq);

    List<XzTotalPower> getTotalPower(@Param("dcsReq")DcsRealTimeDataReq dcsRealTimeDataReq);
}
